#ifndef XINFOMATVERSIONTYPEPARSER_H
#define XINFOMATVERSIONTYPEPARSER_H

#include "infomatconfigdefine.h"
#include "xinfomattypeparserbase.h"

class QByteArray;

class XInfomatVersionTypeParser: public XInfomatTypeParserBase
{
public:
    XInfomatVersionTypeParser();
    ~XInfomatVersionTypeParser();

    void getResource(QByteArray in_datagram);
    QByteArray getOutDatagram(void);

    void
    read(void);
    void
    write(void);

private:
    STInfomatVersionType  m_versionType;
    uint8_t m_result;
};

#endif // XINFOMATVERSIONTYPEPARSER_H
